<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("basePath", basePath);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>查看流程图</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<jsp:include page="/scripts/common/index.html"></jsp:include>
<jsp:include page="/scripts/dhtmlx/index.html"></jsp:include>
<jsp:include page="/scripts/jquery/index.html"></jsp:include>
<jsp:include page="/scripts/bootstrap/index.html"></jsp:include>
<link rel="stylesheet" href="${basepath }style/default.css">
</head>
<script type="text/javascript">
	var temp = false;
	function closeWindow() {
		parent.w1.close();
	}
</script>
<style>
.form-group{
margin-bottom: 0px;
}
.form-group>div{
text-align: left;
margin-top: 5px;
line-height: 20px;
}
.form-group>.col-xs-4{
width: 31.3%;
}
</style>
<body style="width: 100%;height: 100%;margin: 0;border: 0;">
	<form style="width: 100%;height: 99%;" class="form-horizontal MyForm" id="MyForm" name="MyForm" method="post" target="MyFrame" enctype="multipart/form-data">
		<table class="contTable" style="width: 100%;height: 100%;" border="0">
			<tr class="firstTr" style="height: 40px;">
				<td>
					<button onclick="closeWindow()" class="btn btn-primary" type="button">
						<span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span>
						&nbsp;
						<span>关闭</span>
					</button>
				</td>
			</tr>
			<tr style="height:auto;">
				<td valign="top" style="width: 100%;height: 100%;">
					<div style="width:100%;height:350px;overflow-y:auto;">
						<div class="blockBorder">
							<div class="titleS">
								<strong>流程查看</strong>
							</div>
							<div class="tableCont" style="width: 90%;">
								<div class="form-group">
									<label class="col-xs-2 control-label" >流程部署编号:</label>
									<div class="col-xs-9"><span>${info.defDepId }</span></div>
								</div>
								<div class="form-group">
									<label class="col-xs-2 control-label" >流程定义编号 :</label>
									<div class="col-xs-9"><span>${info.defId }</span></div>
								</div>
								<div class="form-group">
									<label class="col-xs-2 control-label" >流程定义主键 :</label>
									<div class="col-xs-9"><span>${info.defKey }</span></div>
								</div>
								<div class="form-group">
									<label class="col-xs-2 control-label" >流程定义名称 :</label>
									<div class="col-xs-9"><span>${info.defName }</span></div>
								</div>
								<div class="form-group">
									<label class="col-xs-2 control-label" >流程定义版本 :</label>
									<div class="col-xs-5"><span>${info.defVersion }</span></div>
									
								</div>
								<div class="form-group">
									<label class="col-xs-2 control-label" >流程定义描述:</label>
									<div class="col-xs-9"><span>${info.defDesc }</span></div>
								</div>
								
								<div class="form-group">
									<label class="col-xs-2 control-label" >资源名称:</label>
									<div class="col-xs-9"><span>${info.resourceName }</span></div>
								</div>
								<img alt="" src="${basePath }${info.filePath }/${info.fileName}" style="width: 100%;">
							</div>
						</div>
					</div>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
